EitherSecond

data class EitherSecond<T1, T2>(val t2: T2) : Either<T1, T2>

This type Either will always have not nullable optionalT2

Constructors

Link copied to clipboard
fun <T2> EitherSecond(t2: T2)

Properties

Link copied to clipboard
open override val optionalT1: Optional<T1>
Link copied to clipboard
open override val optionalT2: Optional<T2>
Link copied to clipboard
open val t1OrNull: T1?
Link copied to clipboard
val t2: T2
Link copied to clipboard
open val t2OrNull: T2?